jQuery(function($) {
    //$(".accordion-categories").accordion({header:"h2",alwaysOpen: false});
    $("#block-tab-cag > ul").tabs({
                                  selected: 1 ,
                                  event: "mouseover",
                                  fx: {height:'toggle',opacity: 'toggle',duration: 'fast'}});
    $("#block-tab-cag > ul").bind('tabsselect', function(event, ui) {
        var titles = ["Recent Comments", "Cloud Tags", "Categories", "Archives"]
        $("#block-tab-cag-title").text(titles[ui.index]);
    });
    $("#block-tab-cag").css("display","block");

    $("#block-tab-fc > ul").tabs({
                                  event: "mouseover",
                                  fx: {height:'toggle',opacity: 'toggle',duration: 'fast'}});
    $("#block-tab-fc > ul").bind('tabsselect', function(event, ui) {
        var titles = ["Friends Comments", "Members"]
        $("#block-tab-fc-title").text(titles[ui.index]);
    });
    $("#block-tab-fc").css("display","block");
}); 

